<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<jsp:include page="/static/common/common_header.jsp"/>

<script type="text/javascript" src="/static/js/product.js"></script>
<html>
<head>
    <title>产品信息</title>
</head>
<body>
    <!--初始化列表-->
    <table id="product_datagrid"></table>

    <!-- 添加/编辑对话框 -->
    <div id="product_dialog">
        <form id="product_form" method="post">
            <input type="hidden"  name="id" >
            <table style="margin: 15px">
                <tr style="margin-top: 20px">
                    <td>保险编号</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="sn">
                    </td>
                </tr>
                <tr>
                    <td>保险名称</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="name">
                    </td>
                </tr>
                <tr>
                    <td>保险机构</td>
                    <td>
                    <select  id="cc" style="width: 175px" class="easyui-combobox" name="safetyMechanism.id">
                    </select>
                    </td>
                </tr>
                <tr>
                    <td>保障年限</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="safeguardyear">
                    </td>
                </tr>
                <tr>
                    <td>保额</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="totalmoney">
                    </td>
                </tr>
                <tr>
                    <td>基本年费</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="annuaflee">
                    </td>
                </tr>
                <tr>
                    <td>销售状态</td>
                    <td>
                        <select id="sale_state" class="easyui-combobox" style="width: 173px" name="salesstatus" >
                            <option value="1">在售</option>
                            <option value="0">停售</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>不计免赔</td>
                    <td>
                        <select id="unde_state" class="easyui-combobox" style="width: 173px" name="undeduction" >
                            <option value="1">是</option>
                            <option value="0">否</option>
                        </select>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <!--工具栏-->
    <div id="product_tabs">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addDept">添加</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true " id="btn_edit" data-cmd="editDept">编辑</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadDept">刷新</a>
        &nbsp;&nbsp;&nbsp;

        <select id="product_selectSalesStatus" class="easyui-combobox" data-options="panelHeight:'auto'"
                name="salesStatus" style="width:120px;" editable="false" >
            <option value="">--销售状态--</option>
            <option value="true">在售</option>
            <option value="false">停售</option>
        </select>
        &nbsp;&nbsp;&nbsp;
        <select id="product_selectUndeduction" class="easyui-combobox" data-options="panelHeight:'auto'"
                name="undeduction" style="width:120px;" editable="false" >
            <option value="">--不计免赔--</option>
            <option value="true">是</option>
            <option value="false">否</option>
        </select>

        &nbsp;&nbsp;&nbsp;
        <input class="easyui-textbox" name="keyword" id="keyword" data-options="prompt:'名称/机构/编号'">
        <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="searchDept">查询</a>
    </div>

<!--底部按钮-->
    <div id="prosuct_buttons">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="saveDept">保存</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancelDept">取消</a>
    </div>


</body>
</html>
